package pta;/**
 * @author： li
 * @date： 2022-03-28 09:26
 * @version 1.0
 */
import java.util.*;
public class 念数字 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] py = new String[]{"ling","yi","er","san","si","wu","liu","qi","ba","jiu","fu"};
        String a = sc.next();
        for(int i=0;i<a.length();i++)
        {
            if(a.charAt(i)=='-')
                System.out.print(py[10]+" ");
            else {
                int i1 = Integer.parseInt(String.valueOf(a.charAt(i)));
                if(i==a.length()-1)
                    System.out.print(py[i1]+"\n");
                else
                    System.out.print(py[i1]+" ");
            }
        }
    }
}
